package com.eyedsion.his.web.entity.businessdata;

import com.eyedsion.his.web.entity.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 彭长云
 * @Description:
 * @date 2018/12/14 14:49
 */
@Entity
@Table(name = "pat_patient")
public class PatPatient extends BaseEntity{
    @Id
    private String code;//病人信息操作PK [CODE, VARCHAR2, 32]
    private String patientName;//null [PATIENT_NAME, VARCHAR2, 20]
    private Date updateTime;//更新时间 [UPDATE_TIME, DATE, 7]
    private String identityCard;//身份证号码 [IDENTITY_CARD, VARCHAR2, 32]
    private String genderCode;//性别 [GENDER_CODE, VARCHAR2, 32]
    private Date birthday;//出生日期 [BIRTHDAY, DATE, 7]
    private BigDecimal ageOne;//第一个年龄 [AGE_ONE, NUMBER, 6.2]
    private String ageOneUnit;//第一个年龄单位 [AGE_ONE_UNIT, VARCHAR2, 1]
    private BigDecimal ageTwo;//第二个年龄 [AGE_TWO, NUMBER, 6.2]
    private String ageTwoUnit;//第二个年龄单位 [AGE_TWO_UNIT, VARCHAR2, 1]
    private String nationalityCode;//国籍 [NATIONALITY_CODE, VARCHAR2, 32]
    private String nativePlaceCode;//籍贯 [NATIVE_PLACE_CODE, VARCHAR2, 32]
    private String occupationCode;//职业 [OCCUPATION_CODE, VARCHAR2, 32]
    private String tstatus;//状态;1启用2停用 [TSTATUS, VARCHAR2, 1]
    private String createUser;//创建人 [CREATE_USER, VARCHAR2, 32]
    private Date createTime;//创建时间 [CREATE_TIME, DATE, 7]

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public String getGenderCode() {
        return genderCode;
    }

    public void setGenderCode(String genderCode) {
        this.genderCode = genderCode;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public BigDecimal getAgeOne() {
        return ageOne;
    }

    public void setAgeOne(BigDecimal ageOne) {
        this.ageOne = ageOne;
    }

    public String getAgeOneUnit() {
        return ageOneUnit;
    }

    public void setAgeOneUnit(String ageOneUnit) {
        this.ageOneUnit = ageOneUnit;
    }

    public BigDecimal getAgeTwo() {
        return ageTwo;
    }

    public void setAgeTwo(BigDecimal ageTwo) {
        this.ageTwo = ageTwo;
    }

    public String getAgeTwoUnit() {
        return ageTwoUnit;
    }

    public void setAgeTwoUnit(String ageTwoUnit) {
        this.ageTwoUnit = ageTwoUnit;
    }

    public String getNationalityCode() {
        return nationalityCode;
    }

    public void setNationalityCode(String nationalityCode) {
        this.nationalityCode = nationalityCode;
    }

    public String getNativePlaceCode() {
        return nativePlaceCode;
    }

    public void setNativePlaceCode(String nativePlaceCode) {
        this.nativePlaceCode = nativePlaceCode;
    }

    public String getOccupationCode() {
        return occupationCode;
    }

    public void setOccupationCode(String occupationCode) {
        this.occupationCode = occupationCode;
    }

    public String getTstatus() {
        return tstatus;
    }

    public void setTstatus(String tstatus) {
        this.tstatus = tstatus;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
